package com.tedu.lianxi2.result;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum Status {
    USERNAME_ERROR(1000,"用户名错误"),
    PASSWORD_ERROR(1001,"密码错误"),
    USERNAME_EXIST(1002,"用户名被占用"),
    NOT_LOGIN(1003,"用户未登录"),
    OPERATOR_SUCCESS(2000,"操作成功"),
    OPERATOR_FAILED(2001,"操作失败");
    private Integer status;
    private String message;
}
